<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="org.apache.shiro.web.filter.authc.FormAuthenticationFilter"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title></title>
    <script src="https://cdn.staticfile.org/jquery/3.1.1/jquery.min.js"></script>
    <script type="text/javascript">

        document.addEventListener('plusready', function(){
            //console.log("所有plus api都应该在此事件发生后调用，否则会出现plus is undefined。"


        });

    </script>
    <link rel="stylesheet" href="https://cdn.bootcss.com/weui/1.1.2/style/weui.min.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/jquery-weui/1.2.0/css/jquery-weui.min.css">
</head>
<body>
<c:forEach items="${tj}" var="tjlist">
    <div class="weui-form-preview">
        <div class="weui-form-preview__hd">
            <label class="weui-form-preview__label">机构名称</label>
            <em class="weui-form-preview__value">${tjlist.name}</em>
        </div>
        <div class="weui-form-preview__bd">
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">总案件</label>
                <span class="weui-form-preview__value">${tjlist.num}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">待回访</label>
                <span class="weui-form-preview__value">${tjlist.st1}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">报案未回访</label>
                <span class="weui-form-preview__value">${tjlist.st2}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">已回访待受理</label>
                <span class="weui-form-preview__value">${tjlist.st3}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">已受理</label>
                <span class="weui-form-preview__value">${tjlist.st4}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">超期未结案</label>
                <span class="weui-form-preview__value">${tjlist.st5}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">已结案</label>
                <span class="weui-form-preview__value">${tjlist.st6}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">已撤件</label>
                <span class="weui-form-preview__value">${tjlist.st8}</span>
            </div>
            <%--<div class="weui-form-preview__item">--%>
                <%--<label class="weui-form-preview__label">已sd</label>--%>
                <%--<span class="weui-form-preview__value">${tjlist.id}</span>--%>
            <%--</div>--%>
        </div>
        <div class="weui-form-preview__ft">
            <!-- <a class="weui-form-preview__btn weui-form-preview__btn_default" href="javascript:">辅助操作</a>-->
            <button type="button" class="weui-form-preview__btn weui-form-preview__btn_primary tijiao" href="javascript:void(0)"  data-id="${tjlist.id}">查看</button>
        </div>
    </div>
</c:forEach>
</body>
<script type="text/javascript">
    $(document).ready(function() {
        $(".tijiao").click(function () {
            var ss = $(this).data("id");
            location.href ='${ctw}/api/firm/getMmap?ids='+ss;
        })
    });
</script>
</html>
